"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
var vue_1 = require("vue");
var props = (0, vue_1.withDefaults)((0, vue_1.defineProps)(), {
    title: function () { return '分享'; },
    link: function () { return 'https://yuhengTechnology.com'; },
});
// 是否可见
var visible = (0, vue_1.ref)(false);
// 打开弹窗
var openModal = function () {
    visible.value = true;
};
// 关闭弹窗
var closeModal = function () {
    visible.value = false;
};
// 暴露函数给父组件
var __VLS_exposed = {
    openModal: openModal
};
(0, vue_1.defineExpose)({
    openModal: openModal
});
; /* PartiallyEnd: #3632/scriptSetup.vue */
var __VLS_withDefaultsArg = (function (t) { return t; })({
    title: function () { return '分享'; },
    link: function () { return 'https://yuhengTechnology.com'; },
});
function __VLS_template() {
    var __VLS_ctx = {};
    var __VLS_components;
    var __VLS_directives;
    var __VLS_0 = {}.AModal;
    /** @type { [typeof __VLS_components.AModal, typeof __VLS_components.aModal, typeof __VLS_components.AModal, typeof __VLS_components.aModal, ] } */ ;
    // @ts-ignore
    var __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0(__assign({ 'onCancel': {} }, { visible: ((__VLS_ctx.visible)), title: ("分享图片"), footer: ((false)) })));
    var __VLS_2 = __VLS_1.apply(void 0, __spreadArray([__assign({ 'onCancel': {} }, { visible: ((__VLS_ctx.visible)), title: ("分享图片"), footer: ((false)) })], __VLS_functionalComponentArgsRest(__VLS_1), false));
    var __VLS_6 = {};
    var __VLS_7;
    var __VLS_8 = {
        onCancel: (__VLS_ctx.closeModal)
    };
    var __VLS_3;
    var __VLS_4;
    __VLS_elementAsFunction(__VLS_intrinsicElements.h4, __VLS_intrinsicElements.h4)({});
    var __VLS_9 = {}.ATypographyLink;
    /** @type { [typeof __VLS_components.ATypographyLink, typeof __VLS_components.aTypographyLink, typeof __VLS_components.ATypographyLink, typeof __VLS_components.aTypographyLink, ] } */ ;
    // @ts-ignore
    var __VLS_10 = __VLS_asFunctionalComponent(__VLS_9, new __VLS_9({
        copyable: (true),
    }));
    var __VLS_11 = __VLS_10.apply(void 0, __spreadArray([{
            copyable: (true),
        }], __VLS_functionalComponentArgsRest(__VLS_10), false));
    (__VLS_ctx.link);
    __VLS_14.slots.default;
    var __VLS_14;
    __VLS_elementAsFunction(__VLS_intrinsicElements.div)(__assign({ style: ({}) }));
    __VLS_elementAsFunction(__VLS_intrinsicElements.h4, __VLS_intrinsicElements.h4)({});
    var __VLS_15 = {}.AQrcode;
    /** @type { [typeof __VLS_components.AQrcode, typeof __VLS_components.aQrcode, ] } */ ;
    // @ts-ignore
    var __VLS_16 = __VLS_asFunctionalComponent(__VLS_15, new __VLS_15({
        value: ((__VLS_ctx.link)),
    }));
    var __VLS_17 = __VLS_16.apply(void 0, __spreadArray([{
            value: ((__VLS_ctx.link)),
        }], __VLS_functionalComponentArgsRest(__VLS_16), false));
    __VLS_5.slots.default;
    var __VLS_5;
    var __VLS_slots;
    var $slots;
    var __VLS_inheritedAttrs;
    var $attrs;
    var __VLS_refs = {};
    var $refs;
    var $el;
    return {
        attrs: {},
        slots: __VLS_slots,
        refs: $refs,
        rootEl: $el,
    };
}
;
var __VLS_self = (await Promise.resolve().then(function () { return __importStar(require('vue')); })).defineComponent({
    setup: function () {
        return {
            visible: visible,
            closeModal: closeModal,
        };
    },
    __typeProps: {},
    props: {},
});
exports.default = (await Promise.resolve().then(function () { return __importStar(require('vue')); })).defineComponent({
    setup: function () {
        return __assign({}, __VLS_exposed);
    },
    __typeProps: {},
    props: {},
    __typeEl: {},
});
; /* PartiallyEnd: #4569/main.vue */
